package top.overstep.zboot.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.overstep.zboot.system.dao.MenuMapper;
import top.overstep.zboot.system.domain.Menu;
import top.overstep.zboot.system.service.MenuService;

import java.util.List;
@Service
public class MenuServiceImpl implements MenuService {
    @Autowired
    private MenuMapper menuMapper;

    public List<Menu> selectMenusByRoleIds(List<Long> roleIds) {
        return menuMapper.selectMenusByRoleIds(roleIds);
    }
}
